package com.myblog.service.impl;

import com.myblog.mapper.Photomapper;
import com.myblog.pojo.Photo;
import com.myblog.service.Photoservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Photoserviceimpl implements Photoservice {
    @Autowired
    private Photomapper photomapper;

    @Override
    public Photo findpathbyid(int id) {
        return  photomapper.findpathbyid(id);
    }
}
